package com.lwj.dto.system;


import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class MenuDto {
    /**
     * 菜单id
     */
    private String menuId;

    /**
     * 菜单父级id
     */
    @NotNull(message = "父级id不能为null")
    private String parentId;

    /**
     * 菜单名称
     */
    @NotEmpty(message = "菜单名称不能为空")
    private String menuName;

    /**
     * 权限code
     */
    private String permissionCode;

    /**
     * 0:菜单 1:功能
     */
    @NotEmpty(message = "菜单类型不能为空")
    private String type;

    /**
     * 菜单url
     */
    private String url;

    /**
     * 菜单描述
     */
    private String remark;

    /**
     * 状态
     */
    private String status;

    @NotNull(message = "菜单排序值不能为空")
    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
